package com.shuai.orderfood.merchants.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.*;

/**
 * 登录请求DTO
 */
@Data
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class LoginDto {

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;
}